package cn.jksoft.businessclient.bean;

import java.util.List;

/**
 * Created by RogersHuang on 16/4/8.
 */
public class LoginEntity extends BaseEntity{

    private PuxsoftLoginDTOBean puxsoftLoginDTO;

    public PuxsoftLoginDTOBean getPuxsoftLoginDTO() {
        return puxsoftLoginDTO;
    }

    public void setPuxsoftLoginDTO(PuxsoftLoginDTOBean puxsoftLoginDTO) {
        this.puxsoftLoginDTO = puxsoftLoginDTO;
    }

    public static class PuxsoftLoginDTOBean {
        private int adminUserId;
        private String adminUserType;
        private int storeId;
        private Object jobId;
        private Object orgId;
        private int companyId;
        private Object technicalId;
        private Object supplierId;
        private int tenantId;
        /**
         * adminUserId : 10010
         * activeStatusFlag : null
         * email : admin@test.com
         * login : tech
         * name : null
         * password : 7a52551731731617b18bcc138023551d
         * phoneNumber : 15920880905
         * isLogin : 0
         * tenantId : 1
         */

        private AdminUserDTOBean adminUserDTO;
        /**
         * adminPermissionId : null
         * description : null
         * isFriendly : 0
         * name : null
         * permissionKey : Edit
         * permissionType : null
         */

        private List<PermissionListBean> permissionList;

        public int getAdminUserId() {
            return adminUserId;
        }

        public void setAdminUserId(int adminUserId) {
            this.adminUserId = adminUserId;
        }

        public String getAdminUserType() {
            return adminUserType;
        }

        public void setAdminUserType(String adminUserType) {
            this.adminUserType = adminUserType;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public Object getJobId() {
            return jobId;
        }

        public void setJobId(Object jobId) {
            this.jobId = jobId;
        }

        public Object getOrgId() {
            return orgId;
        }

        public void setOrgId(Object orgId) {
            this.orgId = orgId;
        }

        public int getCompanyId() {
            return companyId;
        }

        public void setCompanyId(int companyId) {
            this.companyId = companyId;
        }

        public Object getTechnicalId() {
            return technicalId;
        }

        public void setTechnicalId(Object technicalId) {
            this.technicalId = technicalId;
        }

        public Object getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(Object supplierId) {
            this.supplierId = supplierId;
        }

        public int getTenantId() {
            return tenantId;
        }

        public void setTenantId(int tenantId) {
            this.tenantId = tenantId;
        }

        public AdminUserDTOBean getAdminUserDTO() {
            return adminUserDTO;
        }

        public void setAdminUserDTO(AdminUserDTOBean adminUserDTO) {
            this.adminUserDTO = adminUserDTO;
        }

        public List<PermissionListBean> getPermissionList() {
            return permissionList;
        }

        public void setPermissionList(List<PermissionListBean> permissionList) {
            this.permissionList = permissionList;
        }

        public static class AdminUserDTOBean {
            private int adminUserId;
            private Object activeStatusFlag;
            private String email;
            private String login;
            private String name;
            private String password;
            private String phoneNumber;
            private String isLogin;
            private int tenantId;

            public int getAdminUserId() {
                return adminUserId;
            }

            public void setAdminUserId(int adminUserId) {
                this.adminUserId = adminUserId;
            }

            public Object getActiveStatusFlag() {
                return activeStatusFlag;
            }

            public void setActiveStatusFlag(Object activeStatusFlag) {
                this.activeStatusFlag = activeStatusFlag;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getLogin() {
                return login;
            }

            public void setLogin(String login) {
                this.login = login;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getPhoneNumber() {
                return phoneNumber;
            }

            public void setPhoneNumber(String phoneNumber) {
                this.phoneNumber = phoneNumber;
            }

            public String getIsLogin() {
                return isLogin;
            }

            public void setIsLogin(String isLogin) {
                this.isLogin = isLogin;
            }

            public int getTenantId() {
                return tenantId;
            }

            public void setTenantId(int tenantId) {
                this.tenantId = tenantId;
            }
        }

        public static class PermissionListBean {
            private Object adminPermissionId;
            private Object description;
            private int isFriendly;
            private Object name;
            private String permissionKey;
            private Object permissionType;

            public Object getAdminPermissionId() {
                return adminPermissionId;
            }

            public void setAdminPermissionId(Object adminPermissionId) {
                this.adminPermissionId = adminPermissionId;
            }

            public Object getDescription() {
                return description;
            }

            public void setDescription(Object description) {
                this.description = description;
            }

            public int getIsFriendly() {
                return isFriendly;
            }

            public void setIsFriendly(int isFriendly) {
                this.isFriendly = isFriendly;
            }

            public Object getName() {
                return name;
            }

            public void setName(Object name) {
                this.name = name;
            }

            public String getPermissionKey() {
                return permissionKey;
            }

            public void setPermissionKey(String permissionKey) {
                this.permissionKey = permissionKey;
            }

            public Object getPermissionType() {
                return permissionType;
            }

            public void setPermissionType(Object permissionType) {
                this.permissionType = permissionType;
            }
        }
    }
}
